package edu.fdzc.learn.mapper;

import edu.fdzc.learn.entity.Course;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CourseMapper {

    void insert(Course course);

    List<Course> findall();

    Course findById(int id);

    void update(Course course);

    void deleteByid(int id);
}
